<template>  
    <div class="row container">
        <div class="col-2">
            <div class="user_navbar">
                <div class="income_manage">
                    <router-link class="nav-link active" aria-current="page" :to="{ name: 'incomemanage' }">入库管理</router-link>
                </div>
                <div class="outgoing_manage">
                    <router-link class="nav-link active" aria-current="page" :to="{ name: 'outgoingmanage' }">出库管理</router-link>
                </div>
                <div class="outgoing_manage">
                    <router-link class="nav-link active" aria-current="page" :to="{ name: 'inventorymanage' }">库存管理</router-link>
                </div>
            </div>
        </div>
        <div class="col-10">
            <slot></slot>
        </div>
      </div>
</template>  
    
<script>  
export default {  
    name: "UserView",  
}  
</script>  

<style scoped>
.user_navbar {
height: 650px;
width: 100%; 
background-color: gray;
user-select: none;
}
.income_manage {
width: 100%;
height: 50px;
background-color: gray;
border: 1px;
color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.income_manage:hover {
background-color: lightgrey;
transition: 500ms;
cursor: pointer;
}
.outgoing_manage {
width: 100%;
height: 50px;
background-color: gray;
border: 1px;
color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.outgoing_manage:hover {
background-color: lightgrey;
transition: 500ms;
cursor: pointer;
}
.user_book {
width: 100%;
height: 50px;
background-color: gray;
border: 1px;
color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.user_book:hover {
background-color: lightgrey;
transition: 500ms;
cursor: pointer;
}
.user_peruse {
width: 100%;
height: 50px;
background-color: gray;
border: 1px;
color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.user_peruse:hover {
background-color: lightgrey;
transition: 500ms;
cursor: pointer;
}
.user_message {
width: 100%;
height: 50px;
background-color: gray;
border: 1px;
color: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.user_message:hover {
background-color: lightgrey;
transition: 500ms;
cursor: pointer;
}
.container {
max-width: 1500px;
}
</style>